<?php
/*
>> General tags
- {%urlpage%}		| The current filename that is being shown
- {%title%}		| Use this tag within you <title></title> tag for optimal SEO
- {%pagetitle%}		| Displays the current pagetitle (good for a <h1> tag)
- {%subheader%}		| A short slogan, descriptive text for the current page (<h2>)
- {%sitename%}		| Use this anywhere you want to show your sitename 
- {%desc%}		| An "extensive" description of the current page
- {%keywords%}		| Keywords (tags) for the current page as specified per file
- {%breadcrumb%} 	| Show the breadcrumb/pathway to the current file
- {%printable%}		| Use as: {%IF printable (eq Y)%}<a href="print/{%urlpage%}.html">Print</a>{%/IF printable%}
	
>> Menu items
- {%mainmenu%}		| Prints an ordered list (<ul>) with all files in specified menu
- {%leftmenu%}		| ''
- {%rightmenu%}		| '' 
- {%footermenu%}	| ''
- {%extramenu%}		| ''
	
>> Content tag
- {%content%}		| The content from the current file that is being requested

See below for a simple example that uses all of the tags listed above.
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="{%lang%}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{%title%}</title>
<meta name="description" content="{%sitename%} | {%desc%}" />
<meta name="keywords" content="{%keywords%}" />
<link href="./lib/templates/ccms/base.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="./lib/includes/js/mootools.js" charset="utf-8"></script>
<link rel="shortcut icon" href="img/favicon.ico" />
</head>

<body>
<div class="container">
	<div id="header" class="span-24">
		<div class="span-4"><h1>&nbsp;<span>{%sitename%} {%pagetitle%}</span></h1></div>
		<div class="span-18 last" id="navigation">
			<a href="http://www.compactcms.nl">CCMS Home</a> | <a href="http://community.compactcms.nl/forum/">Forum</a> | <a href="http://files.compactcms.nl/">Download</a>
		</div>
	</div>

	<h2>{%subheader%}</h2>

	<div id="left" class="span-4 colborder">
		<p style="margin-top: 10px; text-align: left;"><strong>Dynamic menu</strong>{%mainmenu%}
			<br/><em>CompactCMS truly is versatile!</em><br/><br/><a href="admin/" title="Back to the administration">Back to the admin</a>.
		</p>
		
	</div>

	<div id="content" class="span-18 last">
		<div id="printable" class="span-18 last" style="text-align: right;">
			{%breadcrumb%}
			{%IF printable (eq Y)%}
				<br/><a href="print/{%urlpage%}.html">Print</a>
			{%/IF printable%}
		</div>
		{%content%}
		
		{%leftmenu%}
	</div>
</div>

<div id="footer" class="quiet small">
	<p>&copy; <?php echo date('Y'); ?> {%sitename%} | Maintained with <a href="http://www.compactcms.nl">CompactCMS</a></p>
</div>

	<!-- Support me by keeping this link (it's not visible to your visitors!). It will help my search engine ranking. -->
	<div style="display: none;"><a href="http://www.compactcms.nl">Maintained with CompactCMS.nl</a></div>
	<!-- That's it! Of course you're free to show off CompactCMS anywhere on your website -->

</body>
</html>				